﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Kokomo.Mirror.CliMetadata.Tables
{
	public class ImplMapRow : IMetadataRow
	{
		public PinvokeAttributes MappingFlags { get; set; }
		[CodedIndex(CodedIndexType.MemberForwarded)]
		public CodedIndex MemberForwarded { get; set; }
		public StringRef ImportName { get; set; }
		[SimpleIndex(MetadataTableNumber.ModuleRef)]
		public CodedIndex ImportScope { get; set; }

		public override string ToString(MetadataContainer container)
		{
			string name = container.GetString(this.ImportName);
			return name;
		}
	}
}
